package com.example.xpvideo.entity;

import java.math.BigDecimal;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 本底生活商品表(LsLocalGoods)实体类
 *
 * @author 杨丽辉
 * @since 2021-10-09 11:50:05
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsLocalGoods implements Serializable {
    private static final long serialVersionUID = 674987546460142769L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
        private Integer id;

    /**
    * 商品名称
    * isnull 0
    */            private String name;
    /**
    * 商品编码
    * isnull 0
    */            private String code;
    /**
    * 商品一级分类id
    * isnull 0
    */            private Integer firstCateId;
    /**
    * 品牌id
    * isnull 0
    */            private Integer brandId;
    /**
    * 商品单位id
    * isnull 0
    */            private Integer unitId;
    /**
    * 销售状态: 0-仓库中；1-上架中
    * isnull 0
    */            private Object status;
    /**
    * 商品主图
    * isnull 0
    */            private String image;
    /**
    * 商品视频
    * isnull 0
    */            private String video;
    /**
    * 商品简介
    * isnull 0
    */            private String remark;
    /**
    * 商品详细描述(富文本)
    * isnull 0
    */            private String content;
    /**
    * 排序,值越小越靠前
    * isnull 0
    */            private Integer sort;
    /**
    * 实际销量
    * isnull 0
    */            private Integer salesActual;
    /**
    * 点击量
    * isnull 0
    */            private Integer clicks;
    /**
    * 商品规格:统一规格
    * isnull 0
    */            private Object specType;
    /**
    * 商品现价
    * isnull 0
    */            private BigDecimal nowPrice;
    /**
    * 市场价(商品吊牌价/划线价)
    * isnull 0
    */            private BigDecimal originalPrice;
    /**
    * 总库存
    * isnull 0
    */            private Integer stock;
    /**
    * 是否商品推荐 0-否 1-是
    * isnull 0
    */            private Object isRecommend;
    /**
    * 审核状态 0-待审核;1-审核通过;2-审核失败
    * isnull 0
    */            private Object auditStatus;
    /**
    * 审核备注
    * isnull 0
    */            private String auditRemark;
    /**
    * 商品创建时间
    * isnull 0
    */            private Integer createTime;
    /**
    * 商品更新时间
    * isnull 0
    */            private Integer updateTime;
    /**
    * 删除状态 0-正常 1-已删除 2-回收站
    * isnull 0
    */            private Object del;
    /**
    * 库存预警
    * isnull 0
    */            private Integer stockWarn;
    /**
    * 虚拟销量
    * isnull 0
    */            private Integer salesVirtual;
    /**
    * 商品权重，值越小权重越大
    * isnull 0
    */            private Integer sortWeight;
    /**
    * 分享海报
    * isnull 0
    */            private String poster;
    /**
    * 是否显示库存 0-不显示 1-显示
    * isnull 0
    */            private Object isShowStock;
    /**
    * 是否启用会员价 0-不启用 1-启用
    * isnull 0
    */            private Object isMember;
    /**
    * 是否开启分销 0-不开启 1-开启
    * isnull 0
    */            private Object isDistribution;
    /**
    * 一级分销比例
    * isnull 0
    */            private Object firstRatio;
    /**
    * 二级分销比例
    * isnull 0
    */            private Object secondRatio;
    /**
    * 是否置顶：0否；1是
    * isnull 0
    */            private Integer isTop;
    /**
    * 推荐天数
    * isnull 0
    */            private Integer recommendDays;
    /**
    * 商品轮播图（图片数组）
    * isnull 0
    */            private String carousel;
    /**
    * 专区id
    * isnull 0
    */            private Integer specialAreaId;
    /**
    * 热度
    * isnull 0
    */            private Integer isHot;
    /**
    * 使用须知（富文本）
    * isnull 0
    */            private String conditions;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
        
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
        
    public Integer getFirstCateId() {
        return firstCateId;
    }

    public void setFirstCateId(Integer firstCateId) {
        this.firstCateId = firstCateId;
    }
        
    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }
        
    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }
        
    public Object getStatus() {
        return status;
    }

    public void setStatus(Object status) {
        this.status = status;
    }
        
    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
        
    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }
        
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
        
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
        
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
        
    public Integer getSalesActual() {
        return salesActual;
    }

    public void setSalesActual(Integer salesActual) {
        this.salesActual = salesActual;
    }
        
    public Integer getClicks() {
        return clicks;
    }

    public void setClicks(Integer clicks) {
        this.clicks = clicks;
    }
        
    public Object getSpecType() {
        return specType;
    }

    public void setSpecType(Object specType) {
        this.specType = specType;
    }
        
    public BigDecimal getNowPrice() {
        return nowPrice;
    }

    public void setNowPrice(BigDecimal nowPrice) {
        this.nowPrice = nowPrice;
    }
        
    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }
        
    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }
        
    public Object getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(Object isRecommend) {
        this.isRecommend = isRecommend;
    }
        
    public Object getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Object auditStatus) {
        this.auditStatus = auditStatus;
    }
        
    public String getAuditRemark() {
        return auditRemark;
    }

    public void setAuditRemark(String auditRemark) {
        this.auditRemark = auditRemark;
    }
        
    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }
        
    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }
        
    public Object getDel() {
        return del;
    }

    public void setDel(Object del) {
        this.del = del;
    }
        
    public Integer getStockWarn() {
        return stockWarn;
    }

    public void setStockWarn(Integer stockWarn) {
        this.stockWarn = stockWarn;
    }
        
    public Integer getSalesVirtual() {
        return salesVirtual;
    }

    public void setSalesVirtual(Integer salesVirtual) {
        this.salesVirtual = salesVirtual;
    }
        
    public Integer getSortWeight() {
        return sortWeight;
    }

    public void setSortWeight(Integer sortWeight) {
        this.sortWeight = sortWeight;
    }
        
    public String getPoster() {
        return poster;
    }

    public void setPoster(String poster) {
        this.poster = poster;
    }
        
    public Object getIsShowStock() {
        return isShowStock;
    }

    public void setIsShowStock(Object isShowStock) {
        this.isShowStock = isShowStock;
    }
        
    public Object getIsMember() {
        return isMember;
    }

    public void setIsMember(Object isMember) {
        this.isMember = isMember;
    }
        
    public Object getIsDistribution() {
        return isDistribution;
    }

    public void setIsDistribution(Object isDistribution) {
        this.isDistribution = isDistribution;
    }
        
    public Object getFirstRatio() {
        return firstRatio;
    }

    public void setFirstRatio(Object firstRatio) {
        this.firstRatio = firstRatio;
    }
        
    public Object getSecondRatio() {
        return secondRatio;
    }

    public void setSecondRatio(Object secondRatio) {
        this.secondRatio = secondRatio;
    }
        
    public Integer getIsTop() {
        return isTop;
    }

    public void setIsTop(Integer isTop) {
        this.isTop = isTop;
    }
        
    public Integer getRecommendDays() {
        return recommendDays;
    }

    public void setRecommendDays(Integer recommendDays) {
        this.recommendDays = recommendDays;
    }
        
    public String getCarousel() {
        return carousel;
    }

    public void setCarousel(String carousel) {
        this.carousel = carousel;
    }
        
    public Integer getSpecialAreaId() {
        return specialAreaId;
    }

    public void setSpecialAreaId(Integer specialAreaId) {
        this.specialAreaId = specialAreaId;
    }
        
    public Integer getIsHot() {
        return isHot;
    }

    public void setIsHot(Integer isHot) {
        this.isHot = isHot;
    }
        
    public String getConditions() {
        return conditions;
    }

    public void setConditions(String conditions) {
        this.conditions = conditions;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"name\":" + name +
                            " ,\"code\":" + code +
                            " ,\"firstCateId\":" + firstCateId +
                            " ,\"brandId\":" + brandId +
                            " ,\"unitId\":" + unitId +
                            " ,\"status\":" + status +
                            " ,\"image\":" + image +
                            " ,\"video\":" + video +
                            " ,\"remark\":" + remark +
                            " ,\"content\":" + content +
                            " ,\"sort\":" + sort +
                            " ,\"salesActual\":" + salesActual +
                            " ,\"clicks\":" + clicks +
                            " ,\"specType\":" + specType +
                            " ,\"nowPrice\":" + nowPrice +
                            " ,\"originalPrice\":" + originalPrice +
                            " ,\"stock\":" + stock +
                            " ,\"isRecommend\":" + isRecommend +
                            " ,\"auditStatus\":" + auditStatus +
                            " ,\"auditRemark\":" + auditRemark +
                            " ,\"createTime\":" + createTime +
                            " ,\"updateTime\":" + updateTime +
                            " ,\"del\":" + del +
                            " ,\"stockWarn\":" + stockWarn +
                            " ,\"salesVirtual\":" + salesVirtual +
                            " ,\"sortWeight\":" + sortWeight +
                            " ,\"poster\":" + poster +
                            " ,\"isShowStock\":" + isShowStock +
                            " ,\"isMember\":" + isMember +
                            " ,\"isDistribution\":" + isDistribution +
                            " ,\"firstRatio\":" + firstRatio +
                            " ,\"secondRatio\":" + secondRatio +
                            " ,\"isTop\":" + isTop +
                            " ,\"recommendDays\":" + recommendDays +
                            " ,\"carousel\":" + carousel +
                            " ,\"specialAreaId\":" + specialAreaId +
                            " ,\"isHot\":" + isHot +
                            " ,\"conditions\":" + conditions +
                  '}';
    }


}
